<#include "/layout/layout.ftl">
<#import "/layout/macro.ftl" as macro>
<#import "/layout/select.ftl" as my/>
<#assign css>
<#--此ftl中用到的css-->
    <style>
        .col-sm-9{
            padding-top:7px;
        }
    </style>
</#assign>
<#assign js>
<#--此ftl中用到的js-->
<script>
</script>
</#assign>
<@layout title="详情" active="couponInfo">
<!-- Content Header (Page header) -->
<section class="content-header">
	<h1>
		<small>优惠券管理详细信息</small>
	</h1>
	<ol class="breadcrumb">
		<li><a href="/"><i class="fa fa-home"></i> 管理后台</a></li>
		<li><a href="#"><i class="fa fa-list-ul"></i> 优惠券管理管理</a></li>
		<li class="active"><i class="fa fa-edit"></i>详细信息</li>
	</ol>
</section>
<!-- Main content -->
<section class="content">
	<div class="row">
		<div class="col-md-12">
			<!-- Default box -->
			<div class="box  box-primary">
				<form class="form-horizontal form-edit" method="post" action="">
					<div class="box-body">
						<input type="hidden" id="id" name="id" value="${couponInfo.id!}">
						<div class="form-group"><label class="col-sm-3 control-label">：</label><div class="col-sm-9">${couponInfo.id!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">优惠券名称：</label><div class="col-sm-9">${couponInfo.name!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">优惠券类型：</label><div class="col-sm-9">${convert('IS_NOT',couponInfo.type)!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">使用开始时间：</label><div class="col-sm-9">${couponInfo.useStartTime!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">使用截止日期：</label><div class="col-sm-9">${couponInfo.useEndTime!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">最小使用金额：</label><div class="col-sm-9">${couponInfo.minGoodsAmount!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">优惠金额：</label><div class="col-sm-9">${couponInfo.amount!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">优惠券状态：</label><div class="col-sm-9">${couponInfo.state!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">使用范围：</label><div class="col-sm-9">${couponInfo.useScope!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">使用范围：</label><div class="col-sm-9">${couponInfo.useScopeChildType!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">描述：</label><div class="col-sm-9">${couponInfo.descs!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">创建人：</label><div class="col-sm-9">${couponInfo.createBy!}</div></div>
            <div class="form-group"><label class="col-sm-3 control-label">创建时间：</label><div class="col-sm-9">${(couponInfo.createAt?string('yyyy-MM-dd HH:mm:ss'))!}</div></div>
            
					</div>

					<div class="box-footer">
						<button type="button" class="btn btn-default btn-back">返回</button>
					</div>

				</form>
			</div>
			<!-- /.box -->
		</div>
	</div>
</section>
<!-- /.content -->
</@layout>
